Imports System.Configuration

Public Class ForumConfiguration : Inherits ConfigurationSection
    <ConfigurationProperty("providers")> _
    Public ReadOnly Property Providers() As ProviderSettingsCollection
        Get
            Return CType(Me("providers"), ProviderSettingsCollection)
        End Get
    End Property

    <ConfigurationProperty("defaultProvider", DefaultValue:="KDESolutions.Providers.Forums.DBForumProvider"), _
     StringValidator(MinLength:=1)> _
    Public Property DefaultProvider() As String
        Get
            Return CType(Me("defaultProvider"), String)
        End Get
        Set(ByVal value As String)
            Me("defaultProvider") = value
        End Set
    End Property

End Class
